package com.yuyou.fn.tradingservice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 
 *
 */
@TableName(value = "person_lease_message")
public class PersonLeaseMessage implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<PersonLeaseMessage> createExample(){
		return new Example<PersonLeaseMessage>(PersonLeaseMessage.class);
	}

	@TableId(value = "person_lease_id")
	private Long personLeaseId;



	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/**  */
	@TableField(value = "campus_name")
	private String campusName;

	/**  */
	@TableField(value = "room_id")
	private Long roomId;

	/**  */
	@TableField(value = "room_name")
	private String roomName;

	/**  */
	@TableField(value = "product_id")
	private Long productId;


	/**  */
	@TableField(value = "week_num")
	private Integer weekNum;

	/** 总价格 */
	@TableField(value = "total_price")
	private BigDecimal totalPrice;





	/** 开始时间  2017-05-11 00:00::00 */
	private Date start;

	/** 结束时间 2017-05-11 00:00::00 */
	private Date end;

	/** 状态 0:未付款，1租赁成功，2租赁失败 */
	@TableField(value = "lease_state")
	private Integer leaseState;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;


	/** 每天开始时间 如08:00 */
	@TableField(value = "start_time")
	private String startTime;

	/** 每天结束时间 如：12:00 */
	@TableField(value = "end_time")
	private String endTime;

	/** 按小时-1，按天租0，按周租 1，按月租 2，按年租 3， 按天租4*/
	@TableField(value = "time_type")
	private Integer timeType;



	/**  */
	@TableField(value = "buyer_id")
	private Long buyerId;

	/**  */
	@TableField(value = "buyer_name")
	private String buyerName;

	@TableField(value = "time_desc")
	private String timeDesc;

	@TableField(value = "time_price")
	private String timePrice;

	@TableField(value = "time_num")
	private Integer timeNum;

	@TableField(value = "confict_ids")
	private String confictIds;

	@TableField(value = "pay_main_account_id")
	private Long payMainAccountId;

	@TableField(value = "class_id")
	private Long classId;

	@TableField(exist = false)
	private BigDecimal dayTimeNum;

	public Long getPersonLeaseId() {
		return this.personLeaseId;
	}

	public void setPersonLeaseId(Long personLeaseId) {
		this.personLeaseId = personLeaseId;
	}


	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getRoomId() {
		return this.roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getRoomName() {
		return this.roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}


	public Integer getWeekNum() {
		return this.weekNum;
	}

	public void setWeekNum(Integer weekNum) {
		this.weekNum = weekNum;
	}

	public BigDecimal getTotalPrice() {
		return this.totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}






	public Date getStart() {
		return this.start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return this.end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public Integer getLeaseState() {
		return this.leaseState;
	}

	public void setLeaseState(Integer leaseState) {
		this.leaseState = leaseState;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public String getStartTime() {
		return this.startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return this.endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getTimeType() {
		return this.timeType;
	}

	public void setTimeType(Integer timeType) {
		this.timeType = timeType;
	}



	public Long getBuyerId() {
		return this.buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public String getBuyerName() {
		return this.buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}


	public String getTimeDesc() {
		return timeDesc;
	}

	public void setTimeDesc(String timeDesc) {
		this.timeDesc = timeDesc;
	}

	public String getTimePrice() {
		return timePrice;
	}

	public void setTimePrice(String timePrice) {
		this.timePrice = timePrice;
	}

	public Integer getTimeNum() {
		return timeNum;
	}

	public void setTimeNum(Integer timeNum) {
		this.timeNum = timeNum;
	}

	public String getConfictIds() {
		return confictIds;
	}

	public void setConfictIds(String confictIds) {
		this.confictIds = confictIds;
	}

	public Long getPayMainAccountId() {
		return payMainAccountId;
	}

	public void setPayMainAccountId(Long payMainAccountId) {
		this.payMainAccountId = payMainAccountId;
	}

	public Long getClassId() {
		return classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public BigDecimal getDayTimeNum() {
		return dayTimeNum;
	}

	public void setDayTimeNum(BigDecimal dayTimeNum) {
		this.dayTimeNum = dayTimeNum;
	}
}
